package cho114366.basic;

public class J06_51 {

	public static void main(String[] args) {
		System.out.println("Multiplicatuon Table");
		System.out.println(" 1 2 3 4 5 6 7 8 9");
		System.out.println("-----------------------------");
		
		int i=1;
		System.out.println("1|");
		while(i<=9){
			System.out.print(" "+i);
			
			++i;}
			System.out.println(" ");
			int j=1;
			System.out.println("2|");
			while(j<=9){
				System.out.print(" "+j*2);
				
				++j;
			}
			System.out.println(" ");
			int l=1;
			
			while(l<=9){
				System.out.print(" "+l*3);
				++l;
				
			}
			System.out.println(" ");
			int m=1;
			while(m<=9){
				System.out.print(" "+m*4);
				++m;
				
			}
			System.out.println(" ");
			int n=1;
			while(l<=9){
				System.out.print(" "+n*5);
				++n;
				
			}
			}
				
			
}

	

